/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.partyassessmentinfo.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党组织考核信息Entity
 * @author wu
 * @version 2017-08-30
 */
public class PartyAssessmentInfo extends DataEntity<PartyAssessmentInfo> {
	
	private static final long serialVersionUID = 1L;
	private String partyAssessmentId;		// 党组织考核表ID
	private String integralContent;		// 积分内容
	private String remark;		// 备注
	private String upperLimitScore;		// 上限分数
	private String scoreMode;		// 分值方式
	private String type;		// 类型(加分减分)
	private String periodType;		// 周期
	private String scoreNumber;		// 分/次
	private String mode;		// 申报方式
	private String applyCount;
	private String assignModl;
	private String sort;
	private String orgId;//党组织ID
	
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public PartyAssessmentInfo() {
		super();
	}

	public PartyAssessmentInfo(String id){
		super(id);
	}

	@Length(min=1, max=64, message="党组织考核表ID长度必须介于 1 和 64 之间")
	public String getPartyAssessmentId() {
		return partyAssessmentId;
	}

	public void setPartyAssessmentId(String partyAssessmentId) {
		this.partyAssessmentId = partyAssessmentId;
	}
	
	@Length(min=0, max=256, message="积分内容长度必须介于 0 和 256 之间")
	public String getIntegralContent() {
		return integralContent;
	}

	public void setIntegralContent(String integralContent) {
		this.integralContent = integralContent;
	}
	
	@Length(min=0, max=64, message="备注长度必须介于 0 和 64 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=64, message="上限分数长度必须介于 0 和 64 之间")
	public String getUpperLimitScore() {
		return upperLimitScore;
	}

	public void setUpperLimitScore(String upperLimitScore) {
		this.upperLimitScore = upperLimitScore;
	}
	
	@Length(min=0, max=1, message="分值方式长度必须介于 0 和 1 之间")
	public String getScoreMode() {
		return scoreMode;
	}

	public void setScoreMode(String scoreMode) {
		this.scoreMode = scoreMode;
	}
	
	@Length(min=0, max=1, message="类型(加分减分)长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=1, message="周期长度必须介于 0 和 1 之间")
	public String getPeriodType() {
		return periodType;
	}

	public void setPeriodType(String periodType) {
		this.periodType = periodType;
	}
	
	@Length(min=0, max=64, message="分/次长度必须介于 0 和 64 之间")
	public String getScoreNumber() {
		return scoreNumber;
	}

	public void setScoreNumber(String scoreNumber) {
		this.scoreNumber = scoreNumber;
	}
	
	@Length(min=0, max=1, message="申报方式长度必须介于 0 和 1 之间")
	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public String getApplyCount() {
		return applyCount;
	}

	public void setApplyCount(String applyCount) {
		this.applyCount = applyCount;
	}

	public String getAssignModl() {
		return assignModl;
	}

	public void setAssignModl(String assignModl) {
		this.assignModl = assignModl;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
}